<titlemenu></titlemenu>
<div class="dj-list">
    <div class="dj-list-body">
        <div party-tree data-selectdzzdm="selectparams.selectdzzdm" data-selectdzzmc="selectparams.selectdzzmc"
             data-isshowxz="selectparams.isshowxz" data-zzfbtype="selectparams.zzfbType" data-onlyshowdw="selectparams.onlyshowdw"
             data-defaultselected="selectparams.defaultselected" data-isunfold="selectparams.isunfold"></div>
        <div class="dj-list-content">
            <div class="card">
                <div activate-input activate-select class="header search-header">
                    <div fold-partytree data-isunfold="selectparams.isunfold"></div>
                    <div class="search-param-panel">
                        <div class="search-input">
                            <form class="form-horizontal">
                                <div class="row clearfix form-inline">
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>当前选中组织</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <div class="input-group input-group-search">
                                                    <input name="selectdzzmc" type="text" style="min-width: 90px"
                                                           ng-model="selectparams.selectdzzmc" class="form-control"
                                                           ng-disabled="true"/>
                                                    <span class="input-group-addon"
                                                          ng-click="setisunfold()">选择</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>年度</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <select class="form-control show-tick"
                                                        ng-model="selectparams.year" ng-change="search()"
                                                        ng-options="type.dickey as type.dicvalue for type in yearList"
                                                        class="form-control"
                                                        name="year">
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="search-btn" style="margin-right: 20px;">
                            <div style="min-width: 13em">
                                <!--<span class="moreSpan" ng-click="isShowClick()" style='padding-right:2em;cursor:pointer;'>{{moreTxt}}<i class="material-icons" style="position: relative;top:7px;">{{isShow ? 'expand_less' : 'expand_more'}}</i></span>-->
                                <button  class="btn btn-default1"
                                        ng-click="search()">查询
                                </button>
                                <button  class="btn btn-default1 btn-reset"
                                        ng-click="reset()">重置
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="search-btn" style="margin-right: 20px;">
                        <div style="float: right">
                            <button class="btn btn-default1"
                                    ng-click="exportData()">导出
                            </button>
                        </div>
                    </div>
                </div>
                <div class="body">
                    <div class="zero-list-table-panel">
                        <div class="zero-source-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th rowspan="2">序号</th>
                                    <th rowspan="2">单位</th>
                                    <th rowspan="2">预算收入</th>
                                    <th rowspan="2">预算支出</th>
                                    <th colspan="4" style="background-color: #F5FFFA">实际收入</th>
                                    <th colspan="10" style="background-color:#FFFAFA">实际支出</th>
                                </tr>
                                <tr>
                                    <th>总收入</th>
                                    <th>上级党<br>组织拨付</th>
                                    <th>党员缴纳<br>党费数</th>
                                    <th>党费利息</th>
                                    <th>总支出</th>
                                    <th>培训党员</th>
                                    <th>召开党<br>内会议</th>
                                    <th>开展党<br>内活动</th>
                                    <th>党员教育<br>阵地建设</th>
                                    <th>表彰先进</th>
                                    <th>补助生活<br>困难党员</th>
                                    <th>补助遭受严重<br>自然灾害的党<br>员和修缮因灾<br>受损的基层党<br>员教育设施支出</th>
                                    <th>党员日常教育<br>、管理费用</th>
                                    <th>财务管<br>理费用</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in dataList">
                                    <td scope="row" class="text-center">
                                        {{selectparams.pagesize*(selectparams.pageindex-1)+$index+1}}
                                    </td>
                                    <td>{{it["DZZMC"]}}</td>
                                    <td class="text-center">{{it["预算收入"]}}</td>
                                    <td class="text-center">{{it["预算支出"]}}</td>
                                    <td class="text-center">{{it["总收入"]}}</td>
                                    <td class="text-center">{{it["上级党组织拨付"]}}</td>
                                    <td class="text-center">{{it["党员缴纳党费数"]}}</td>
                                    <td class="text-center">{{it["党费利息"]}}</td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["总支出"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31"}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["培训党员"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":1}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["召开党内会议"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":2}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["开展党内活动"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":3}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["党员教育阵地建设"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":4}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["表彰先进"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":5}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["补助生活困难党员"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":6}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["基层党员教育设施支出"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":7}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["党员日常教育管理费用"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":8}' ></td>
                                    <td class="text-center" url="partyOutlayList" title='{{it["财务管理费用"]}}' link-tag params='{"dzzdm":"{{it["PARTYCODE"]}}","bt" :"{{selectparams.year}}-01-01","et" :"{{selectparams.year}}-12-31","dtype":9}' ></td>
                                </tr>
                                <tr ng-if="pageInfo.ptotal==0">
                                    <td colspan="17" style="text-align:center">暂无数据</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="zero-target-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th style="height: 148px">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in dataList" zero-table-height>
                                    <td class="text-center">
                                        <button
                                                role-permission-code="fundsIncome.btn.btnAdd"
                                                class="btn td-btn bg-light-green waves-effect"
                                                style="height: 20px !important;padding: 0px 12px !important;"
                                                ng-click="editData(it.PARTYCODE,it.DZZMC)"
                                                title="录入">
                                            录入
                                        </button>
                                    </td>
                                </tr>
                                <tr ng-if="pageInfo.ptotal==0">
                                    <td colspan="1" style="text-align:center">无</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <pagination data-pageindex="selectparams.pageindex" data-pagesize="selectparams.pagesize"
                                data-ptotal="pageInfo.ptotal"></pagination>
                </div>
            </div>
        </div>
    </div>
</div>